import styled from "styled-components";

export const LoadingBox =styled.div `

.loader {
  height: 40px;
  width: 40px;
  position: absolute;
  left: 50%;
  margin-left: -20px;
  top: 50%;
  margin-top: -20px;
  background-color: #FF6C0C;
}
.loader:before, .loader:after {
  content: "";
  height: 40px;
  width: 40px;
  border: 8px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  position: absolute;
  top: 0;
}
.loader:before {
  -webkit-animation: animate 2s infinite linear;
          animation: animate 2s infinite linear;
}
.loader:after {
  -webkit-animation: animate2 2s infinite linear;
          animation: animate2 2s infinite linear;
}

@-webkit-keyframes animate {
  100% {
    transform: rotate(180deg) skew(360deg);
  }
}

@keyframes animate {
  100% {
    transform: rotate(180deg) skew(360deg);
  }
}
@-webkit-keyframes animate2 {
  100% {
    transform: rotate(-180deg) skew(-360deg);
  }
}
@keyframes animate2 {
  100% {
    transform: rotate(-180deg) skew(-360deg);
  }
}
`